package com.atguigu.springcloud.alibaba.config;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.client.RestTemplate;

/**
 * @author 赵新
 * @create 2021-10-25 14:28
 */
@Configuration
public class OrderConfig {
    @Bean
   // @LoadBalanced
    public RestTemplate restTemplate2(){
        return new RestTemplate();
    }
}
